﻿namespace 观察者模式
{
    //观察者2有两个响应行为
    public  abstract class Observer2
    {
        public Observer2(ModelBase modelBase)
        {
            modelBase.SubEvent+=Response;
            modelBase.SubEvent += Response1;
        }

        public abstract void Response();
        public abstract void Response1();
    }
}
